home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / msdos622.rus / msdos_4.ddi / COMMANDS.TXT < prev    next >
Text File  |  1993-05-31  |  78KB  |  2,348 lines

  1. 4201.CPI---------------------------------------------------------------------
  2.  
  3. Code-page information file for IBM Proprinters II and III Model 4201,
  4. and IBM Proprinters II and III XL Model 4202.
  5.  
  6. 4208.CPI---------------------------------------------------------------------
  7.  
  8. Code-page information file for IBM Proprinter X24E Model 4207, and 
  9. IBM Proprinter XL24E Model 4208.
  10.  
  11. 5202.CPI---------------------------------------------------------------------
  12.  
  13. Code-page information file for IBM Quietwriter III printer.
  14.  
  15. ADOS-------------------------------------------------------------------------
  16.  
  17. Starts AccessDOS, a package of MS-DOS extensions for persons with motion 
  18. and hearing disabilities.
  19.  
  20. See ADOS.TXT for information about using AccessDOS.
  21.  
  22. SYNTAX
  23. ------
  24. ADOS [/A] [/C] [/L] [/M] [/X]
  25.  
  26. SWITCHES
  27. --------
  28. /A
  29.    Installs AccessDOS.
  30.  
  31. /C
  32.    Runs AcessDOS in color mode.
  33.  
  34. /L
  35.    Runs AccessDOS in LCD mode.
  36.  
  37. /M
  38.    Runs AccessDOS in monochrome mode.
  39.  
  40. /X
  41.    Runs AccessDOS in minimal mode.
  42.  
  43. ASSIGN-----------------------------------------------------------------------
  44.  
  45. Redirects requests for disk operations on one drive to a different drive. 
  46.  
  47. Some older programs can read and write files only on drives A and B. With 
  48. the ASSIGN command, you can redirect disk operations for those programs so 
  49. that you can read and write files on drives other than A and B. 
  50.  
  51. SYNTAX 
  52. ------
  53. ASSIGN [x[:]=y[:][...]] 
  54.  
  55. To redirect all drive letters to their original drives, use the following 
  56. syntax: 
  57.  
  58. ASSIGN 
  59.  
  60. To display a list of the current assignments, use the following syntax: 
  61.  
  62. ASSIGN /STATUS 
  63.  
  64. PARAMETERS 
  65. ----------
  66. x  
  67.    Specifies the drive from which you want to redirect read and write 
  68.    operations. This value must be a letter. The use of the colon (:) 
  69.    is optional. y Specifies the existing drive to which you want to redirect 
  70.    read and write operations. This value must be a letter. The use of the 
  71.    colon (:) is optional. 
  72.   
  73. SWITCH
  74. ------
  75. /STATUS  
  76.    Lists current assignments. You can abbreviate this switch as 
  77.    /STA or /S. 
  78.      
  79. NOTES
  80. -----
  81.  
  82. Invalid uses of ASSIGN 
  83. ----------------------
  84. You must not assign the drive letter of your hard disk to another drive. 
  85. You should not use ASSIGN for a drive that is in use by a program. 
  86.  
  87. You cannot use the drive letter of a hard disk drive that does not 
  88. exist for either the x or the y parameter. 
  89.  
  90. Avoid the use of ASSIGN in the following cases: 
  91. o With commands requiring drive information (BACKUP, JOIN, LABEL, RESTORE, 
  92.   SUBST) 
  93.  
  94. o With the DISKCOPY and FORMAT commands, which ignore drive reassignments 
  95.  
  96. o During typical use of MS-DOS, unless a program cannot read and write files 
  97.   on the specified drive 
  98.  
  99. Using ASSIGN with the APPEND command 
  100. ------------------------------------
  101. If you use both the ASSIGN and APPEND commands, you must use APPEND first, 
  102. even if the commands affect different drives. 
  103.  
  104. Using ASSIGN for network drives 
  105. -------------------------------
  106. You can use the ASSIGN command for network drives. 
  107.  
  108. Canceling a previous assignment as the result of a new assignment 
  109. -----------------------------------------------------------------
  110. Assigning a drive letter to a drive cancels previous assignments to it. 
  111. Suppose you assign drive A to drive letter C, as the following example 
  112. shows: 
  113.  
  114. ASSIGN A=C
  115.  
  116. Later you assign drive B to drive letter C, as the following example shows: 
  117.  
  118. ASSIGN B=C
  119.  
  120. As a result, drive A is no longer assigned to drive letter C. 
  121.  
  122. Using the SUBST command instead of ASSIGN 
  123. -----------------------------------------
  124. You should use the SUBST command instead of ASSIGN. The following commands 
  125. are equivalent: 
  126.  
  127. ASSIGN A=C
  128. SUBST A: C:\
  129.  
  130. EXAMPLES
  131. --------
  132. Suppose you want to use drive C to read and write files, but your program 
  133. requires you to put your program disk into drive A and your data disk into 
  134. drive B. To reassign the drive letters A and B to drive C, type the 
  135. following command: 
  136.  
  137. ASSIGN A=C B=C
  138.  
  139. This command causes MS-DOS to look for your program and data files on 
  140. drive C. 
  141.  
  142. To reset all drive letters to their original drives, type the ASSIGN 
  143. command without parameters, as follows: 
  144.  
  145. ASSIGN
  146.  
  147. BACKUP---------------------------------------------------------------------
  148.  
  149. Backs up one or more files from one disk onto another. 
  150.  
  151. You can back up files onto either a hard disk or floppy disk(s). 
  152. Files can also be backed up from one floppy disk onto another, even 
  153. if the disks have different numbers of sides or sectors. MS-DOS displays 
  154. the name of each file it backs up. 
  155.  
  156. SYNTAX 
  157. ------
  158. BACKUP source destination-drive: [/S] [/M] [/A][/F[:size]] 
  159.    [/D:date [/T:time]][/L[:[drive:][path]logfile]] 
  160.  
  161. PARAMETERS
  162. ----------
  163. source  
  164.    Specifies the location of files you want to back up. 
  165.    Source can consist of a drive letter and colon, a directory name, 
  166.    a filename, or a combination. 
  167.     
  168. destination-drive:  
  169.    Specifies the drive that contains the disk on which you want to store 
  170.    any backup files. The backup files are stored in the BACKUP.nnn and 
  171.    CONTROL.nnn files. That is, BACKUP assigns the names BACKUP.001 
  172.    and CONTROL.001 to the files it creates on the first backup disk you 
  173.    use, BACKUP.002 and CONTROL.002 to the files it creates on the second 
  174.    backup disk, and so on. 
  175.    
  176. SWITCHES
  177. /S 
  178.    Backs up the contents of all subdirectories. 
  179.    
  180. /M 
  181.    Backs up only files that have changed since the last backup, 
  182.    and turns off the archive attribute of the original files. 
  183.    
  184. /A 
  185.    Adds backup files to an existing backup disk without deleting 
  186.    existing files. (The /A switch is ignored if the existing backup 
  187.    disk contains backup files that were created by using the BACKUP 
  188.    command from MS-DOS version 3.2 or earlier.) 
  189.    
  190. /F[:size] 
  191.    Formats the backup disk to the size you specify. (The FORMAT command 
  192.    must be present in the current path.) With this switch, you direct 
  193.    BACKUP to format floppy disks that do not match the default size of 
  194.    the drive. The BACKUP command formats an unformatted destination disk 
  195.    even if you do not specify the /F switch. When BACKUP finishes 
  196.    formatting, it begins backing up files onto the last disk it formatted. 
  197.    Size specifies the size in kilobytes of the disk to be formatted. If 
  198.    you do not specify size, the /F switch uses the default size of the 
  199.    drive. The following list shows the valid values for size and a brief 
  200.    description of each size: 
  201.    
  202.    160 or 160k or 160kb 
  203.       160K, single-sided, double-density, 5.25-inch disk 
  204.    180 or 180k or 180kb 
  205.       180K, single-sided, double-density, 5.25-inch disk 
  206.    320 or 320k or 320kb 
  207.       320K, double-sided, double-density, 5.25-inch disk 
  208.    360 or 360k or 360kb 
  209.       360K, double-sided, double-density, 5.25-inch disk 
  210.    720 or 720k or 720kb 
  211.       720K, double-sided, double-density, 3.5-inch disk 
  212.    1200 or 1200k or 1200kb or 1.2 or 1.2m or 1.2mb 
  213.       1.2-MB, double-sided, quadruple-density, 5.25-inch disk 
  214.    1440 or 1440k or 1440kb or 1.44 or 1.44m or 1.44mb 
  215.       1.44-MB, double-sided, quadruple-density, 3.5-inch disk 
  216.    2880 or 2880k or 2880kb or 2.88 or 2.88m or 2.88mb 
  217.       2.88-MB, double-sided, 3.5-inch disk 
  218.  
  219. /D:date 
  220.    Backs up only files modified on or after the specified date. The 
  221.    date format depends on the setting you are using for the COUNTRY 
  222.    command. 
  223. /T:time Backs up only files modified at or after the specified time. 
  224.    The time format depends on the setting you are using for the COUNTRY 
  225.    command. 
  226. /L[:[drive:][path]logfile] 
  227.    Creates a log file and adds an entry to that file to record the 
  228.    backup operation. If you do not specify a location for the log file, 
  229.    BACKUP puts the file in the root directory of the source drive. If 
  230.    you do not specify logfile, BACKUP names the file BACKUP.LOG. You 
  231.    should not specify a removable drive (such as a floppy disk drive) 
  232.    for this parameter; but once the backup is complete, you can copy the 
  233.    log file to a floppy disk. 
  234.  
  235. NOTES
  236. -----
  237.  
  238. Backing up onto a disk with files
  239. ---------------------------------
  240. Unless you use the /A switch, BACKUP deletes old files (including 
  241. read-only files) from a backup disk before adding new files to it. 
  242.  
  243. Backup log file 
  244. ---------------
  245. If you use the /L switch and do not specify a name and location for 
  246. the log file, the BACKUP command adds a file named BACKUP.LOG to the 
  247. root directory of the source drive. If the BACKUP.LOG file already 
  248. exists, BACKUP adds the current entry to the file. A backup log-file 
  249. entry uses the following format: 
  250.  
  251. o The date and time of the backup appear on the first line. 
  252. o Each filename appears on a separate line with the number of 
  253.   the backup disk that contains the file. 
  254.  
  255. The backup log file can assist you later, when you need to identify 
  256. the files you want to restore. The RESTORE command always returns a 
  257. file to the original directory or subdirectory recorded in the backup 
  258. log, creating the subdirectory if necessary. 
  259.  
  260. Labeling backup disks 
  261. ---------------------
  262. It is important to label and number backup disks consecutively. As each 
  263. disk is filled, BACKUP prompts you for the next disk. When you restore 
  264. files, you need to insert the backup disks into the disk drive in the 
  265. same sequence. To check the sequence of backup disks (MS-DOS version 3.3 
  266. or later), use the DIR command to check the disk number. 
  267.  
  268. BACKUP and system files 
  269. -----------------------
  270. The BACKUP command cannot back up the system files IO.SYS, MSDOS.SYS, 
  271. and COMMAND.COM. You can use the SYS command to copy these files onto 
  272. a floppy disk. 
  273.  
  274. Using an old version of the RESTORE command 
  275. -------------------------------------------
  276. You cannot use an old version of the RESTORE command (MS-DOS version 
  277. 3.2 or earlier) for files backed up with MS-DOS version 3.3 or later. 
  278. If you attempt this, MS-DOS displays the following message: 
  279.    
  280.    Source does not contain backup files 
  281.    
  282. This error occurs because the format of old backup files differs from 
  283. the format of files backed up with MS-DOS versions 3.3 and later. 
  284.  
  285. Using BACKUP with networks or redirected drives or directories 
  286. --------------------------------------------------------------
  287. If you are sharing files on a network, you can back up only those 
  288. files to which you have access. You should not use BACKUP with a drive 
  289. that has been redirected with the ASSIGN, JOIN, or SUBST command. If you 
  290. do, the RESTORE command may not be able to restore the files. 
  291.  
  292. Backup exit codes 
  293. -----------------
  294. The following list shows each exit code and a brief description of its 
  295. meaning: 
  296.  
  297. 0    The backup was successful.
  298.  
  299. 1    No files were found to back up.
  300.  
  301. 2    Some files were not backed up because of file-sharing conflicts.
  302.  
  303. 3    The user pressed CTRL+C to stop the process.
  304.  
  305. 4    The process stopped because of an error.
  306.  
  307. You can use the ERRORLEVEL parameter on the IF command line in a 
  308. batch program to process exit codes returned by the BACKUP command. 
  309.  
  310. EXAMPLES
  311. --------
  312. Suppose you want to back up all the files in the \PUBLIC\SMITH directory 
  313. on drive C onto a blank, formatted disk in drive A. To do so, type the 
  314. following: 
  315.  
  316. BACKUP C:\PUBLIC\SMITH\*.* A:
  317.  
  318. Suppose you need to back up all files in the \PUBLIC\SMITH directory 
  319. on drive C onto a 720K floppy disk in drive B. If the floppy disk is 
  320. unformatted, BACKUP formats it before backing up any files. Because the 
  321. /S switch is not specified in the following command, files in 
  322. subdirectories are not backed up: 
  323.  
  324. BACKUP C:\PUBLIC\SMITH\*.* B: /F:720K
  325.  
  326. To write a simple batch program named SMITH that supports the BACKUP 
  327. command's exit codes and the /S switch, you can type the following 
  328. commands by using MS-DOS Editor: 
  329.  
  330. echo off
  331. rem Smith's backup command
  332. backup c:\public\smith\*.* b: /s
  333. if errorlevel 4 goto error
  334. if errorlevel 3 goto abort
  335. if errorlevel 2 goto conflict
  336. if errorlevel 1 goto no_files
  337. if errorlevel 0 goto success
  338. :error
  339. echo Backup stopped the process due to an error
  340. goto exit
  341. :abort
  342. echo You just pressed CTRL+C to stop the backup
  343. goto exit
  344. :conflict
  345. echo One or more files were not backed up due to a sharing conflict
  346. goto exit
  347. :no_files
  348. echo Sorry, but there were no files to back up
  349. goto exit
  350. :success
  351. echo The backup was successful
  352. goto exit
  353. :exit
  354.  
  355. CHOICE----------------------------------------------------------------------
  356.  
  357. A command used by the Setup program. The CHOICE.COM file is the same one
  358. included with MS-DOS 6.22.
  359.  
  360. COMP------------------------------------------------------------------------
  361.  
  362. Compares the contents of two files or sets of files byte by byte. 
  363.  
  364. COMP can compare files on the same drive or on different drives, in 
  365. the same directory or in different directories. As COMP compares the 
  366. files, it displays their locations and filenames.
  367.  
  368. SYNTAX 
  369. ------
  370. COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C]
  371.  
  372. PARAMETERS
  373. ---------- 
  374. data1 
  375.    Specifies the location and name of the first file or set of files 
  376.    you want to compare. You can use wildcards (* and ?) to specify 
  377.    multiple files. 
  378.  
  379. data2 
  380.    Specifies the location and name of the second file or set of files 
  381.    you want to compare. You can use wildcards (* and ?) to specify 
  382.    multiple files. 
  383.  
  384. SWITCHES
  385. --------
  386. /D 
  387.    Displays differences in decimal format. (The default format is 
  388.    hexadecimal.) 
  389.  
  390. /A 
  391.    Displays differences as characters. 
  392.  
  393. /L 
  394.    Displays the number of the line on which a difference occurs, 
  395.    instead of displaying the byte offset. 
  396.  
  397. /N=number 
  398.    Compares the first number of lines of both files, even if the 
  399.    files are different sizes. 
  400.  
  401. /C 
  402.    Performs a comparison that is not case-sensitive. 
  403.  
  404. NOTES
  405. -----
  406.  
  407. Comparing files with the same names
  408. -----------------------------------
  409. The files you want to compare can have the same filename, provided 
  410. they are in different directories or on different drives. If you do 
  411. not specify a filename for data2, the default filename for data2 is 
  412. the same as the filename in data1. You can use wildcards (* and ?) 
  413. to specify filenames. 
  414.  
  415. Special cases for data1 and data2 
  416. ---------------------------------
  417. If you omit necessary components of either data1 or data2 or if you 
  418. omit data2, COMP prompts you for the missing information. If data1 
  419. contains only a drive letter or a directory name with no filename, 
  420. the default filename for data1 is *.*. Therefore, COMP compares all 
  421. the files in the specified directory to the file specified in data2. 
  422. If data2 contains only a drive letter or a directory name, the 
  423. default filename for data2 is the same as that in data1. 
  424.  
  425. How the COMP command identifies mismatching information 
  426. -------------------------------------------------------
  427. During the comparison, COMP displays messages to identify the 
  428. locations of unequal information in the two files. Each message 
  429. indicates the offset memory address of the unequal bytes and the 
  430. contents of the bytes themselves (in hexadecimal notation unless 
  431. you specify the /A or /D switch). The message has the following 
  432. format: 
  433.  
  434.    Compare error at OFFSET xxxxxxxx
  435.    file1 = xx
  436.    file2 = xx
  437.  
  438. After 10 unequal comparisons, COMP stops comparing the files and 
  439. displays the following message: 
  440.  
  441.    10 Mismatches û ending compare 
  442.  
  443. Comparing files of different sizes 
  444. ----------------------------------
  445. You cannot compare files of different sizes unless you specify the 
  446. /N switch. If the file sizes are different, COMP displays the 
  447. following message: 
  448.  
  449.    Files are different sizes
  450.    Compare more files (Y/N)?
  451.  
  452. Press Y to compare another pair of files. Press N to stop the COMP 
  453. command. 
  454.  
  455. If you press Y in response to the prompt, COMP includes any switches 
  456. you specified on the command line in every comparison it makes, 
  457. until you press N or retype the command. 
  458.  
  459. When comparing files of different sizes, use the /N switch to 
  460. compare only the first portion of each file. 
  461.  
  462. Comparing files sequentially 
  463. ----------------------------
  464. If you use wildcards to specify multiple files, COMP finds the first 
  465. file matching data1 and compares it with the corresponding file in 
  466. data2, if it exists. COMP reports the results of the comparison, 
  467. then does the same for each file matching data1. When finished, 
  468. COMP displays the following message: 
  469.  
  470.    Compare more files (Y/N)? 
  471.  
  472. To compare more files, press Y. COMP prompts you for the locations 
  473. and names of the new files. To stop the comparisons, press N. When 
  474. you press Y, COMP prompts you for switches to use. If you don't 
  475. specify any switches, COMP uses the ones you specified before. 
  476.  
  477. If COMP cannot find the files 
  478. -----------------------------
  479. If COMP cannot find the file(s) you specify, it prompts you with a 
  480. message to determine whether you want to compare more files. 
  481.  
  482. CV--------------------------------------------------------------------------
  483.  
  484. Starts CodeView versions 3.0 through 3.13.
  485.  
  486. CAUTION: Using versions 3.0 to 3.13 of the CodeView CV.EXE
  487. file may cause data loss if your system has a 80386 memory
  488. manager (such as EMM386.EXE) and device drivers or programs
  489. that use extended memory. To determine which version you
  490. have, type CV.EXE at the command prompt.
  491.  
  492. To start CodeView versions 3.0 to 3.13 safely, use the
  493. CV.COM file included with the Supplemental disk, and HIMEM.SYS 
  494. version 2.77 or later.
  495.  
  496. To use the CV.COM file included with the Supplemental disks, copy it
  497. to the directory that contains your CV.EXE file.
  498.  
  499. This problem has been fixed in CodeView version 3.14. Call
  500. Microsoft C Support to get this version.
  501.  
  502. DRVBOOT---------------------------------------------------------------------
  503.  
  504. Creates a bootable DriveSpace floppy disk. 
  505.  
  506. SYNTAX
  507. ------
  508. DRVBOOT [drive:]
  509.  
  510. PARAMETER
  511. ---------
  512. [drive:]
  513.    Specifies the floppy disk drive for the DriveSpace floppy disk.
  514.  
  515. NOTES
  516. -----
  517. You can use the floppy disk to start any system with MS-DOS 6.22.
  518. Because the disk is compressed, you can include many more
  519. files on the disk than on most uncompressed disks.
  520.  
  521. Before you can use DRVBOOT, you must install DriveSpace on your
  522. hard disk. DRVBOOT only works with high-density (1.44 or 1.2 MB) 
  523. floppy disks.
  524.  
  525. DVORAK.SYS------------------------------------------------------------------
  526.  
  527. Provides alternative keyboard layouts for people who have difficulty
  528. using the standard QWERTY layout.
  529.  
  530. The commands for installing the layouts in your CONFIG.SYS file are as 
  531. follows. (If DOS is not the directory that contains your MS-DOS files, 
  532. substitute the correct directory name in the commands below.)
  533.  
  534. Two-handed layout
  535. -----------------
  536. keyb dv,,c:\dos\dvorak.sys
  537.  
  538. Left-handed layout
  539. ------------------
  540. keyb lh,,c:\dos\dvorak.sys
  541.  
  542. Right-handed layout
  543. -------------------
  544. keyb rh,,c:\dos\dvorak.sys
  545.  
  546. EDLIN-----------------------------------------------------------------------
  547.  
  548. Starts Edlin, a line-oriented text editor with which you can create 
  549. and change ASCII files. 
  550.  
  551. Edlin numbers each line of the text file that is located in memory. 
  552. You can use Edlin to insert, modify, copy, move, and delete lines 
  553. of the file. If you want to use a full-screen editor, use the EDIT 
  554. command. 
  555.  
  556. SYNTAX
  557. ------
  558. EDLIN [drive:][path] filename [/B] 
  559.  
  560. PARAMETER
  561. ---------
  562. [drive:][path] filename 
  563.    Specifies the location and name of an ASCII file on a disk. If 
  564.    the file exists, Edlin opens it. If the file does not exist, 
  565.    Edlin creates a file in memory and uses the specified location 
  566.    and filename to create the file on a disk when you use the Edlin 
  567.    E command. 
  568.  
  569. SWITCH
  570. ------
  571. /B 
  572.    Specifies that Edlin is to ignore the end-of-file character 
  573.    (CTRL+Z). 
  574.  
  575. NOTES
  576. -----
  577.  
  578. Maximum line length 
  579. -------------------
  580. Edlin accepts a maximum of 253 characters per line. 
  581.  
  582. Edlin commands 
  583. --------------
  584. The following is a list of Edlin commands with a brief description 
  585. of each command: 
  586.  
  587. [line] 
  588.    Displays the line you specify. 
  589.  
  590.    Displays a list of Edlin commands. 
  591.  
  592.    Loads a portion of a file into memory when insufficient memory 
  593.    prohibits loading the entire file. 
  594.  
  595.    Copies a block of consecutive lines to the line number you 
  596.    specify. 
  597.  
  598.    Deletes a block of consecutive lines. 
  599.  
  600.    Writes the edited file from memory to a disk (saves the file), 
  601.    and stops the Edlin session. 
  602.  
  603.    Inserts one or more lines. 
  604.  
  605.    Displays a block of consecutive lines. 
  606.  
  607.    Moves a block of consecutive lines. 
  608.  
  609.    Displays a file one page at a time. 
  610.  
  611.    Stops the Edlin session without writing the edited file from 
  612.    memory to a disk. 
  613.  
  614.    Searches for a string of one or more characters, and replaces 
  615.    it. 
  616.  
  617.    Searches for a string of one or more characters. 
  618.  
  619.    Merges the contents of another file on a disk with the contents 
  620.    of the file that is in memory. 
  621.  
  622.    Writes the first portion of the file in memory to a disk. 
  623.  
  624. Meaning of the asterisk character in Edlin 
  625. ------------------------------------------
  626. The asterisk (*) is used for two purposes in Edlin. When an 
  627. asterisk appears as the only character on the display line, it is 
  628. the Edlin prompt after which you type Edlin commands. When an 
  629. asterisk appears after a line number on the display line, it 
  630. indicates that the line is the current line (where the cursor is 
  631. located). 
  632.  
  633. Meaning of a page of text 
  634. -------------------------
  635. A page of text is one full screen of information. With a 25-line 
  636. screen mode, Edlin displays 24 lines of text per page. The number 
  637. of lines per page depends on the screen mode you are using. 
  638.  
  639. Starting and stopping insert mode 
  640. ---------------------------------
  641. To insert lines into the file in memory, use the Edlin I (insert) 
  642. command. Once you have finished inserting lines, press ENTER and 
  643. then CTRL+C to stop insert mode. For more information about 
  644. inserting lines, see the Edlin I command. 
  645.  
  646. Editing keys 
  647. ------------
  648. MS-DOS provides several editing keys that you can use to edit the 
  649. file in memory. 
  650.  
  651. EDLIN:[line]----------------------------------------------------------------
  652.  
  653. Displays the line of text you specify. 
  654.  
  655. When you type a line number as a command, Edlin displays two lines. 
  656. The first line contains the number you specified and its associated 
  657. text. The second line contains the number again, followed by the 
  658. cursor. The text on the first line of the display serves as a 
  659. template for the second line. On the second line of the display, you 
  660. can press ENTER to cancel the command without changing the text, 
  661. type replacement text, or edit the line of text. 
  662.  
  663. SYNTAX
  664. ------ 
  665. [line] 
  666.  
  667. PARAMETERS
  668. ----------
  669. line 
  670.    Specifies the number of the line you want Edlin to display. To 
  671.    see the number and text of the current line, press ENTER. 
  672.  
  673. NOTE
  674. ----
  675.  
  676. Entering changes into memory 
  677. ----------------------------
  678. After you edit a line, press ENTER to enter the changes into 
  679. memory. 
  680.  
  681. Caution
  682. If you press ENTER while the cursor is in the middle of a line, 
  683. Edlin deletes the portion of the line that is between the cursor 
  684. and the end of the line. 
  685.  
  686. For information about saving the edited file from memory to a disk, 
  687. see the Edlin E and Edlin W commands. 
  688.  
  689. EXAMPLE
  690. -------
  691. Suppose that the following file is in memory and ready to edit. 
  692. When you use the Edlin L (list) command at the Edlin prompt, Edlin 
  693. displays the contents of the file. 
  694.  
  695.    1: Dear Mr. Muster:
  696.    2:
  697.    3: Congratulations on your promotion
  698.    4: to the position of Senior Chemical
  699.    5: Engineer. I continue to be most
  700.    6: impressed with your work.
  701.  
  702. To edit line 6, type 6. Edlin displays the following two lines: 
  703.  
  704.    6:*impressed with your work.
  705.    6:*_
  706.  
  707. The first line contains the specified line number and its associated 
  708. text. The second line contains the same line number and the cursor. 
  709.  
  710. Now suppose you want to insert the word "fine" before the word 
  711. "work" in the previous example. You can specify that Edlin is to 
  712. redisplay a portion of the first line, beginning at the cursor 
  713. position on the second line. First, press F2 and type W. Edlin 
  714. displays up to, but not including, the first ôwö in line 6, as 
  715. follows: 
  716.  
  717.    6:*impressed _
  718.  
  719. Then, press F2 and type W again. Edlin displays up to, but not 
  720. including the next "w" in line 6, as follows: 
  721.  
  722.    6:*impressed with your _
  723.  
  724. Now press the INSERT key and type FINE and then a space. Then press 
  725. the F3 key. Edlin displays the edited line, as follows: 
  726.  
  727.    6:*impressed with your fine work._
  728.  
  729. Press ENTER to accept the change. 
  730.  
  731. At the Edlin prompt, use the Edlin L (list) command to see a display 
  732. of the edited file now in memory. Edlin displays the following: 
  733.  
  734.    1: Dear Mr. Muster:
  735.    2:
  736.    3: Congratulations on your promotion
  737.    4: to the position of Senior Chemical
  738.    5: Engineer. I continue to be most
  739.    6:*impressed with your fine work.
  740.  
  741. EDLIN: A(APPEND)------------------------------------------------------------
  742.  
  743. Loads a portion of a file into memory when insufficient memory 
  744. prevents Edlin from loading the entire file. 
  745.  
  746. When you start Edlin, it reads as many lines as possible from your 
  747. disk file into memory. If the size of your file exceeds available 
  748. memory, you must edit your file in stages. That is, you edit the 
  749. first part of the file, write that part of the file to your disk by 
  750. using the W (write) command, and then load more unedited lines from 
  751. your disk into memory. 
  752.  
  753. SYNTAX
  754. ------
  755. [n]A 
  756.  
  757. PARAMETERS
  758. ---------- 
  759.    Specifies the number of lines you want Edlin to read into 
  760.    memory from the disk. 
  761.  
  762. NOTES
  763. -----
  764.  
  765. Default setting 
  766. ---------------
  767. If you do not specify a value for n, Edlin loads lines from the 
  768. disk file until available memory is 75-percent full. If available 
  769. memory is already 75-percent full, Edlin loads no lines. 
  770.  
  771. Freeing extra memory 
  772. --------------------
  773. If available memory is already full, you may be able to free memory 
  774. by writing a portion of the file to a disk, by stopping other 
  775. programs, or by restarting MS-DOS after quitting MS-DOS Editor. 
  776. Restarting MS-DOS clears memory being used by memory-resident 
  777. programs. 
  778.  
  779. End-of-file message 
  780. -------------------
  781. After the A command reads the last line of the file into memory, 
  782. Edlin displays the following message: 
  783.  
  784.    End of input file 
  785.  
  786. EXAMPLE
  787. -------
  788. Suppose the last 100 lines of your disk file do not fit into 
  789. memory. After you edit the first part of the file and write a 
  790. portion of it back to a disk, you can type the following command to 
  791. load the remaining 100 lines into memory: 
  792.  
  793.    100a 
  794.  
  795. EDLIN: C(COPY)------------------------------------------------------
  796.  
  797. Copies a block of consecutive lines to one or more locations within 
  798. the file in memory. 
  799.  
  800. The C command copies the block of consecutive lines you specify to 
  801. a line number you specify. This block can be copied as many times 
  802. as necessary. 
  803.  
  804. SYNTAX
  805. ------
  806. [line1],[line2],line3[,count]C 
  807.  
  808. PARAMETERS
  809. ----------
  810. line1 
  811.    Specifies the first line you want Edlin to copy. 
  812.  
  813. line2 
  814.    Specifies the last line you want Edlin to copy. 
  815.  
  816. line3 Specifies the line before which Edlin is to insert the 
  817.    specified block of lines. 
  818.  
  819. count 
  820.    Specifies the number of times you want Edlin to copy the block 
  821.    of lines. 
  822.  
  823. NOTES
  824. -----
  825.  
  826. Default settings 
  827. ----------------
  828. If you omit line1 or line2, Edlin copies only the current line. You 
  829. must include the commas on the command line even if you omit one or 
  830. both of these parameters. 
  831.  
  832. If you omit the count parameter, Edlin copies the lines one time. 
  833.  
  834. Line renumbering 
  835. ----------------
  836. After Edlin copies lines, you can use the Edlin L (list) command at 
  837. the Edlin prompt to see the correctly renumbered lines. 
  838.  
  839. Overlapping line numbers 
  840. ------------------------
  841. The line you specify for theline3 parameter cannot be part of the 
  842. block of lines to be copied. If you overlap line numbers in this 
  843. way, Edlin cannot complete the copy operation and displays the 
  844. following message: 
  845.  
  846.    Entry error 
  847.  
  848. For example, the following command results in an error message: 
  849.  
  850.    3,20,15c 
  851.  
  852. EXAMPLES
  853. --------
  854. If you type the following command, Edlin copies lines 1 through 5 
  855. one time, beginning on line 6: 
  856.  
  857.    1,5,6c 
  858.  
  859. Lines 6 through 10 become identical to lines 1 through 5. 
  860.  
  861. To copy the current line to line 5, use the following command: 
  862.  
  863.    ,,5c 
  864.  
  865. EDLIN: D(DELETE)------------------------------------------------------------
  866.  
  867. Deletes the block of consecutive lines you specify. 
  868.  
  869. SYNTAX
  870. ------
  871. [line1][,line2]D 
  872.  
  873. PARAMETERS
  874. ----------
  875. line1 
  876.    Specifies the first line you want Edlin to delete. 
  877. line2 
  878.    Specifies the last line you want Edlin to delete. 
  879.  
  880. NOTES
  881. -----
  882.  
  883. Default parameter values 
  884. ------------------------
  885. If you omit both parameters or only the line2 parameter, Edlin 
  886. deletes the current line. However, if you omit only the line1 
  887. parameter, Edlin deletes the block of text that includes the current 
  888. line through the line whose number is specified for line2. In the 
  889. latter case, you cannot specify a line number for line2 that 
  890. precedes the current line number. In general, the number you 
  891. specify for line2 cannot be smaller than the number you specify for 
  892. line1. If you omit only the line1 parameter, you need to insert a 
  893. comma as a placeholder preceding line2, as shown in the syntax 
  894. line. 
  895.  
  896. Line renumbering 
  897. ----------------
  898. After Edlin deletes lines, you can use the Edlin L (list) command 
  899. at the Edlin prompt to see the correctly renumbered lines that 
  900. remain. 
  901.  
  902. EXAMPLES
  903. --------
  904. If you want Edlin to delete line 7, type: 
  905.  
  906.    7d 
  907.  
  908. If you want Edlin to delete the block of text on lines 22 through 
  909. 32, type the following command: 
  910.  
  911.    22,32d 
  912.  
  913. Finally, suppose that the number of the current line is 7. To 
  914. specify that Edlin is to delete the block of text that includes the 
  915. current line through line 11, type the following command: 
  916.  
  917.    ,11d 
  918.  
  919. EDLIN: E(EDLIN)-------------------------------------------------------------
  920.  
  921. Writes the current file from memory to a disk and stops the Edlin 
  922. session. 
  923.  
  924. The E command renames the original input file on the disk with the 
  925. .BAK extension, writes the edited file from memory to the original 
  926. input file on the disk, and then stops the Edlin session. However, 
  927. if the file in memory is one that you created during this session 
  928. rather than one that Edlin loaded from a disk, Edlin does not 
  929. create a backup (.BAK) file on the disk. 
  930.  
  931. SYNTAX
  932. ------
  933.  
  934. NOTES
  935. -----
  936.  
  937. Default drive and directory 
  938. ---------------------------
  939. Edlin writes the edited file from memory to the drive, directory, 
  940. and filename on a disk that you specified when you started the 
  941. current Edlin session. If you omitted a drive name at that time, 
  942. Edlin writes to the current drive. If you omitted a directory name 
  943. at that time, Edlin writes to the current directory. 
  944.  
  945. Checking for disk space 
  946. -----------------------
  947. Before using the E command, you should be sure your disk contains 
  948. enough free space for the entire edited file that is in memory. If 
  949. it does not, Edlin loses part or all of the file. 
  950.  
  951. Read-only .BAK file 
  952. -------------------
  953. Suppose you want Edlin to save an edited file from memory to a 
  954. disk, but the .BAK version of the file is a read-only file. In this 
  955. case, Edlin displays a message in the following format to inform 
  956. you that Edlin cannot replace the .BAK file: 
  957.  
  958.    Access denied  - [drive:][path] filename.BAK 
  959.  
  960. Both the original and backup versions of your file on the disk 
  961. remain unchanged. 
  962.  
  963. EDLIN: I(INSERT)------------------------------------------------------------
  964.  
  965. Inserts lines before the line number you specify in the edited file 
  966. in memory. 
  967.  
  968. If you are creating a new file, you must type the I command before 
  969. you can insert a new line. Edlin displays the next line number each 
  970. time you press ENTER. Edlin remains in insert mode until you press 
  971. CTRL+C. 
  972.  
  973. SYNTAX
  974. ------
  975. [line]I 
  976.  
  977. PARAMETERS
  978. ----------
  979. line 
  980.    Specifies the line number before which you want Edlin to insert 
  981.    lines. The default value of line is the number of the current 
  982.    line. 
  983.  
  984. NOTES
  985. -----
  986.  
  987. Line renumbering 
  988. ----------------
  989. When you quit insert mode, the line immediately following the 
  990. inserted lines becomes the current line. You can use the Edlin L 
  991. (list) command at the Edlin prompt to see the correctly renumbered 
  992. lines. 
  993.  
  994. Inserting control characters 
  995. ----------------------------
  996. To insert a control character in text, type ^V followed by the 
  997. ASCII symbol that represents the control character. For example, to 
  998. insert an escape character (CTRL+[), type the following: 
  999.  
  1000.    ^V[ 
  1001.  
  1002. To insert a character that produces a tone (CTRL+G), type the 
  1003. following: 
  1004.  
  1005.    ^VG 
  1006.  
  1007. Appending text 
  1008. --------------
  1009. If the value for line exceeds the number of lines in the file you 
  1010. are editing or if you specify a number sign (#) for line, Edlin 
  1011. appends the inserted line(s) to the end of the file. In either 
  1012. case, the last line you insert becomes the current line. If only a 
  1013. portion of the file is in memory, the line is appended at the end 
  1014. of the portion in memory. 
  1015.  
  1016. EXAMPLES
  1017. --------
  1018. Suppose you have used the Edlin L (list) command at the Edlin 
  1019. prompt to display the following text on your screen: 
  1020.  
  1021.     1: Dear Mr. Muster:
  1022.     2:
  1023.     3: Congratulations on your promotion
  1024.     4: to the position of Senior Chemical
  1025.     5: Engineer. I continue to be most
  1026.     6: impressed with your work.
  1027.     7:
  1028.     8: Sincerely,
  1029.     9:
  1030.    10: S.L. Martin, President
  1031.  
  1032. Suppose you want to add another paragraph to the letter. To insert 
  1033. text before line 8, type 8I. Edlin displays the following: 
  1034.  
  1035.    8:*_
  1036.  
  1037. Now type the following line at the cursor on line 8: 
  1038.  
  1039.    8:*I think you will enjoy working with
  1040.  
  1041. Press ENTER at the complete of each new line and continue by typing 
  1042. the following lines: 
  1043.  
  1044.     9:*Mr. Lang on the new project. Please
  1045.    10:*let me know if there is anything I
  1046.    11:*can do to assist you.
  1047.  
  1048. Edlin displays the following: 
  1049.  
  1050.    12:*_
  1051.  
  1052. Insert a blank line by pressing ENTER and complete the insertion by 
  1053. pressing CTRL+C on the next line. You can type 1L to see the 
  1054. following correctly renumbered lines: 
  1055.  
  1056.     1: Dear Mr. Muster:
  1057.     2:
  1058.     3: Congratulations on your promotion
  1059.     4: to the position of Senior Chemical
  1060.     5: Engineer. I continue to be most
  1061.     6: impressed with your work.
  1062.     7:
  1063.     8: I think you will enjoy working with
  1064.     9: Mr. Lang on the new project. Please
  1065.    10: let me know if there is anything I
  1066.    11: can do to assist you.
  1067.    12:
  1068.    13:*Sincerely,
  1069.    14:
  1070.    15: S.L. Martin, President
  1071.  
  1072. EDLIN: L(LIST)--------------------------------------------------------------
  1073.  
  1074. Displays the block of consecutive lines you specify. 
  1075.  
  1076. SYNTAX
  1077. ------
  1078. [line1][,line2] l 
  1079.  
  1080. PARAMETERS
  1081. ----------
  1082. line1 
  1083.    Specifies the first line you want Edlin to display. 
  1084.  
  1085. line2 
  1086.    Specifies the last line you want Edlin to display. 
  1087.  
  1088. NOTES
  1089. -----
  1090.  
  1091. Default values
  1092. --------------
  1093. You can omit the line1 parameter, the line2 parameter, or both. The 
  1094. following list describes the default value(s) for each of these 
  1095. cases: 
  1096.  
  1097. o If you omit only the line1 parameter, Edlin displays up to one 
  1098.   page (full screen of text) at a time, beginning 11 lines before 
  1099.   the current line and ending with the line whose number is 
  1100.   specified in line2. When you omit only line1, you must insert a 
  1101.   comma as a placeholder. 
  1102.  
  1103. o If you omit only the line2 parameter, Edlin displays up to one 
  1104.   page, beginning with the line whose number is specified in line1. 
  1105.  
  1106. o If you use the Edlin L (List) command with no parameters, Edlin 
  1107.   displays up to one page, beginning 11 lines before the current 
  1108.   line. If you install the ANSI.SYS device driver, the number of 
  1109.   lines Edlin displays per page depends on the type of monitor you 
  1110.   have. This number might be greater than 24. 
  1111.  
  1112. Blocks of more than one page
  1113. ----------------------------
  1114. When the block of lines you specify contains more than one page, 
  1115. Edlin displays the first page and then prompts you with the 
  1116. following message: 
  1117.  
  1118.    Continue (Y/N)? 
  1119.  
  1120. EXAMPLE
  1121. -------
  1122. To see lines 5 through 10, type the following: 
  1123.  
  1124.    5,10l 
  1125.  
  1126. EDLIN: M(MOVE)---------------------------------------------------------------
  1127.  
  1128. Moves the block of consecutive lines you specify to another 
  1129. location in the file in memory. 
  1130.  
  1131. SYNTAX
  1132. ------
  1133. [line1],[line2],line3M 
  1134.  
  1135. [line1],+n,line3M 
  1136.  
  1137. PARAMETERS
  1138. ----------
  1139. line1 
  1140.    Specifies the first line you want Edlin to move. 
  1141.  
  1142. line2 
  1143.    Specifies the last line you want Edlin to move. 
  1144.  
  1145. line3 
  1146.    Specifies the line before which you want Edlin to move the block 
  1147.    of lines. 
  1148.  
  1149. +n 
  1150.    Specifies that you want Edlin to move the block of lines that 
  1151.    begins with the line whose number is specified in line1 and 
  1152.    includes the next n lines. If you omit the line1 parameter, the 
  1153.    block of lines to be moved begins with the current line. 
  1154.  
  1155. NOTES
  1156. -----
  1157.  
  1158. Line renumbering
  1159. ----------------
  1160. After Edlin moves lines, you can use the Edlin L (list) command at 
  1161. the Edlin prompt to see the correctly renumbered lines. 
  1162.  
  1163. Overlapping line numbers 
  1164. ------------------------
  1165. The line you specify for theline3 parameter cannot be part of the 
  1166. block of lines to be moved. If you overlap line numbers in this 
  1167. way, Edlin cannot complete the move operation and displays the 
  1168. following message: 
  1169.  
  1170.    Entry error 
  1171.  
  1172. For example, the following command results in an error message: 
  1173.  
  1174.    5,10,8m 
  1175.  
  1176. EXAMPLES
  1177. --------
  1178. Suppose that the following file is in memory and ready to edit. You 
  1179. can type 1L at the Edlin prompt to see the contents of the file. 
  1180.     1: Dear Mr. Muster:
  1181.     2:
  1182.     3: Congratulations on your promotion
  1183.     4: to the position of Senior Chemical
  1184.     5: Engineer. I continue to be most
  1185.     6: impressed with your hard work.
  1186.     7:
  1187.     8: I think you will enjoy working with
  1188.     9: Mr. Lang on the new project. Please
  1189.    10: let me know if there is anything I
  1190.    11: can do to assist you.
  1191.    12:
  1192.    13: Sincerely,
  1193.    14:
  1194.    15: S.L. Martin, President
  1195.    16: Rockdale Corporation
  1196.    17: "A World Leader in Technology"
  1197.  
  1198. What if you prefer to have the motto at the beginning of the memo? 
  1199. You can move lines 16 and 17 before the existing line 1 by typing 
  1200. the following command: 
  1201.  
  1202.    16,17,1m 
  1203.  
  1204. Type the Edlin L (list) command at the Edlin prompt to see the 
  1205. following correctly renumbered lines: 
  1206.  
  1207.     1: Rockdale Corporation
  1208.     2: "A World Leader in Technology"
  1209.     3: Dear Mr. Muster:
  1210.     4:
  1211.     5: Congratulations on your promotion
  1212.     6: to the position of Senior Chemical
  1213.     7: Engineer. I continue to be most
  1214.     8: impressed with your hard work.
  1215.     9:
  1216.    10: I think you will enjoy working with
  1217.    11: Mr. Lang on the new project. Please
  1218.    12: let me know if there is anything I
  1219.    13: can do to assist you.
  1220.    14:
  1221.    15: Sincerely,
  1222.    16:
  1223.    17: S.L. Martin, President
  1224.  
  1225. The following command specifies that Edlin is to move the block of 
  1226. lines including the current line through the next 25 lines to 
  1227. immediately before line 100: 
  1228.    ,+25,100m 
  1229.  
  1230. EDLIN: P(PAGE)--------------------------------------------------------------
  1231.  
  1232. Displays all or part of a file, one page (full screen of text) at a 
  1233. time. 
  1234.  
  1235. The last line displayed per screen becomes the current line. 
  1236.  
  1237. SYNTAX
  1238. ------
  1239. [line1][, line2]P 
  1240.  
  1241. PARAMETERS
  1242. ----------
  1243. line1 
  1244.    Specifies the first line you want Edlin to display. 
  1245.  
  1246. line2 
  1247.    Specifies the last line you want Edlin to display. 
  1248.  
  1249. NOTES
  1250. -----
  1251.  
  1252. Omitting only the line1 parameter 
  1253. ---------------------------------
  1254. When you omit the line1 parameter, Edlin displays a page of text 
  1255. that begins with the current line through line2. 
  1256.  
  1257. Omitting only the line2 parameter 
  1258. ---------------------------------
  1259. When you omit the line2 parameter, Edlin displays a page of text 
  1260. that begins with the line whose number you specify for line1. 
  1261.  
  1262. Omitting both parameters 
  1263. ------------------------
  1264. When you omit both parameters, Edlin displays a page of text that 
  1265. begins with the line after the current line. 
  1266.  
  1267. EXAMPLE
  1268. -------
  1269. To see lines 100 through 200, one page at a time, type the 
  1270. following command: 
  1271.  
  1272.    100,200p 
  1273.  
  1274. EDLIN: Q(QUIT)---------------------------------------------------------------
  1275.  
  1276. Stops the current Edlin session without writing the edited file 
  1277. from memory to a disk. 
  1278.  
  1279. When you use the Q command, the Edlin session stops and the MS-DOS 
  1280. prompt appears. 
  1281.  
  1282. To specify that Edlin is to write the edited file from memory to a 
  1283. disk before ending the current session, you must use the E (end) 
  1284. command. 
  1285.  
  1286. SYNTAX
  1287. ------
  1288.  
  1289. NOTES
  1290. -----
  1291.  
  1292. A difference between the Q and E commands 
  1293. -----------------------------------------
  1294. Suppose that the file you are editing is one that Edlin loaded into 
  1295. memory from a disk at the beginning of this session rather than one 
  1296. that you created in memory during the session. If you use the Q 
  1297. command to quit the session, the contents of both the original input 
  1298. disk file and the .BAK version of the disk file (if one exists) 
  1299. remain unchanged. However, if you use the E command to quit the 
  1300. session and the file you are editing has changed during the 
  1301. session, the edits are saved and the original input disk file 
  1302. becomes the .BAK version. 
  1303.  
  1304. Quitting Edlin without writing the edited file from memory to a disk 
  1305. --------------------------------------------------------------------
  1306. Use the following procedure to quit the Edlin session without 
  1307. writing the edited file from memory to a disk: 
  1308.  
  1309. 1. At the Edlin prompt, type Q. Edlin displays the following 
  1310.    message: 
  1311.  
  1312. Abort edit (Y/N)? _ 
  1313.  
  1314. 2. Press Y (for yes). 
  1315.  
  1316. EDLIN: R(REPLACE)-----------------------------------------------------------
  1317.  
  1318. Searches a block of consecutive lines for a string of one or more 
  1319. characters you specify, and replaces each occurrence of that string 
  1320. with another string you specify. 
  1321.  
  1322. The last line in which the replacement occurs becomes the new 
  1323. current line. 
  1324.  
  1325. SYNTAX
  1326. ------
  1327. [line1][,line2][?]R[string1][separator string2] 
  1328.  
  1329. PARAMETERS
  1330. ----------
  1331. line1 
  1332.    Specifies the first line in which you want Edlin to replace the 
  1333.    string specified in string1. 
  1334.  
  1335. line2 
  1336.    Specifies the last line in which you want Edlin to replace the 
  1337.    string specified in string1. 
  1338.  
  1339. ? (question mark) 
  1340.    Specifies that Edlin is to prompt you by displaying a 
  1341.    confirmation message before replacing an occurrence of the 
  1342.    string specified in string1. 
  1343.  
  1344. string1 
  1345.    Specifies the string that you want Edlin to replace. 
  1346.  
  1347. separator 
  1348.    Separates the string1 and string2 values. The only valid value 
  1349.    for this parameter is the end-of-file character (CTRL+Z). 
  1350.  
  1351. string2 
  1352.    Specifies the new string that is to replace each occurrence of 
  1353.    the string specified for string1. 
  1354.  
  1355. NOTES
  1356. -----
  1357.  
  1358. Command-line spacing 
  1359. --------------------
  1360. You must not insert a space between the R and any subsequent 
  1361. parameter on the command line. 
  1362.  
  1363. Default settings 
  1364. ----------------
  1365. If you omit the line1 parameter, Edlin begins the search on the line after 
  1366. the current line. If you omit the line2 parameter, Edlin stops the search 
  1367. at the end of the file or at the end of the portion of text in memory. 
  1368.  
  1369. If you omit the string1 parameter, Edlin uses the more recently used of 
  1370. the following two values: the value that you specified for string1 the 
  1371. last time you used the R command or the value that you specified for string 
  1372. the last time you used the S command during this session. If you omit 
  1373. string1 and you have not used the R or S command yet during the editing 
  1374. session, the command stops. 
  1375.  
  1376. If you omit the string2 parameter, Edlin uses the value you specified the 
  1377. last time you used the R command during this session. If you omit the 
  1378. string2 parameter and you have not used the R command yet during this 
  1379. session, Edlin deletes all occurrences of the string that is specified 
  1380. for string1. 
  1381.  
  1382. Using the separator parameter 
  1383. -----------------------------
  1384. You must separate the string1 and string2 values by using the CTRL+Z key 
  1385. combination. Even if you omit string1, you need to press CTRL+Z to mark 
  1386. the beginning of string2. When you press the CTRL+Z key combination, the 
  1387. characters displayed are not ôCTRL+Zö. Instead, you see the following: 
  1388.  
  1389.    ^Z 
  1390.  
  1391. Using the question mark (?) 
  1392. ---------------------------
  1393. If you include the ? parameter in your command, Edlin displays the line 
  1394. containing the first occurrence of the string specified for string1 and 
  1395. prompts you by displaying the following confirmation message: 
  1396.  
  1397.    O.K.? _ 
  1398.  
  1399. If you press Y (for yes) or press ENTER, Edlin replaces this occurrence 
  1400. of the value for string1 with the value for string2 and searches for the 
  1401. next occurrence. If you press N (for no), Edlin does not replace this 
  1402. occurrence of the value for string1 and searches for the next occurrence. 
  1403.  
  1404. If you do not use the question mark (?) 
  1405. ---------------------------------------
  1406. If you do not use the ? parameter to confirm replacements as they are made, 
  1407. Edlin makes all the replacements at once and then displays each line that 
  1408. contains a replacement. If a line contains two or more replacements, Edlin 
  1409. displays the line once for each replacement. 
  1410.  
  1411. EXAMPLES
  1412. --------
  1413. Suppose you want Edlin to carry out only each confirmed replacement of 
  1414. the word ômineö with the word ôoursö within the first 20 lines of the 
  1415. edited file in memory. Type the first part of the command as follows, but 
  1416. do not press ENTER: 
  1417.  
  1418.    1,20?rmine 
  1419.    
  1420. To complete the command, press CTRL+Z (which appears on the screen as ^Z), 
  1421. type the word  OURS, and press ENTER. The complete command appears on the 
  1422. screen as follows: 
  1423.  
  1424.    1,20?rmine^Zours 
  1425.  
  1426. Suppose that the following file is in memory and ready to edit. You can 
  1427. type 1L at the Edlin prompt to see the contents of the file. 
  1428.  
  1429.     1: Dear Mr. Muster:
  1430.     2:
  1431.     3: Congratulations on your promotion
  1432.     4: to the position of Senior Chemical
  1433.     5: Engineer. I continue to be most
  1434.     6: impressed with your hard work.
  1435.     7:
  1436.     8: I think you will enjoy working with
  1437.     9: Mr. Lang on the new project. Please
  1438.    10: let me know if there is anything I
  1439.    11: can do to assist you.
  1440.    12:
  1441.    13: Sincerely,
  1442.    14:
  1443.    15: S.L. Martin, President
  1444.    16: Rockdale Corporation
  1445.    17: "A World Leader in Technology"
  1446.  
  1447. Now suppose that in lines 5 through 10 you want Edlin to replace all 
  1448. occurrences of the word "I" with the words "yours truly". Type the first 
  1449. part of the command as follows, but do not press ENTER: 
  1450.  
  1451.    5,10rI 
  1452.    
  1453. To complete the command, press CTRL+Z (which appears on the screen as ^Z), 
  1454. type the words "yours truly", and press ENTER. The complete command appears 
  1455. on the screen as follows: 
  1456.  
  1457.    5,10rI^Zyours truly 
  1458.    
  1459. Because the ? parameter is omitted, Edlin replaces the three occurrences 
  1460. of "I" without prompting you by displaying the confirmation message. When 
  1461. Edlin finishes carrying out the command, it displays the following lines, 
  1462. which are changed as a result of the three replacements: 
  1463.  
  1464.     5: Engineer. yours truly continue to be most
  1465.     8: yours truly think you will enjoy working with
  1466.    10: let me know if there is anything yours truly
  1467.  
  1468. In the previous example, two unintended replacements occurred--in lines 5 
  1469. and 8. You can avoid such changes by adding the ? parameter to the command. 
  1470. The completed command should appear on screen as follows: 
  1471.  
  1472.    5,10?rI^Zyours truly 
  1473.    
  1474. Now, Edlin prompts you by displaying the confirmation message for each 
  1475. occurrence of the string specified in string1 and carries out only confirmed 
  1476. replacements, as the following example shows: 
  1477.  
  1478.        5: Engineer. yours truly continue to be most
  1479.    O.K.? n
  1480.        8: yours truly think you will enjoy working with
  1481.    O.K.? n
  1482.      10: let me know if there is anything yours truly
  1483.    O.K.? y
  1484.  
  1485. When the ? parameter is used, Edlin does not automatically display the 
  1486. lines that are changed as a result of the confirmed replacements. If you 
  1487. type the Edlin L (list) command at the Edlin prompt, Edlin displays the 
  1488. edited file that is in memory, as follows: 
  1489.  
  1490.     1: Dear Mr. Muster:
  1491.     2:
  1492.     3: Congratulations on your promotion
  1493.     4: to the position of Senior Chemical
  1494.     5: Engineer. I continue to be most
  1495.     6: impressed with your hard work.
  1496.     7:
  1497.     8: I think you will enjoy working with
  1498.     9: Mr. Lang on the new project. Please
  1499.    10: let me know if there is anything yours truly
  1500.    11: can do to assist you.
  1501.    12:
  1502.    13: Sincerely,
  1503.    14:
  1504.    15: S.L. Martin, President
  1505.    16: Rockdale Corporation
  1506.    17: "A World Leader in Technology"
  1507.  
  1508. EDLIN: S(SEARCH)-----------------------------------------------------------
  1509.  
  1510. Searches for the string of one or more characters that you specify. 
  1511.  
  1512. Edlin displays the first line that contains an occurrence of the string. 
  1513. The search then stops and that line becomes the current line. 
  1514.  
  1515. SYNTAX
  1516. ------
  1517. [line1][,line2][?]S[string] 
  1518.  
  1519. PARAMETERS
  1520. ----------
  1521. line1 
  1522.    Specifies the first line you want Edlin to search. 
  1523.    
  1524. line2 
  1525.    Specifies the last line you want Edlin to search. 
  1526.    
  1527. ? (question mark) 
  1528.    Specifies that Edlin is to prompt you by displaying a confirmation 
  1529.    message when it finds the first occurrence of the value you specify 
  1530.    for string. 
  1531.    
  1532. string 
  1533.    Specifies the string for which you want Edlin to search. You must not 
  1534.    insert a space before this parameter on the command line, unless the 
  1535.    space is part of the search text. 
  1536.    
  1537. NOTES
  1538. -----
  1539.  
  1540. Default settings 
  1541. ----------------
  1542. If you omit the line1 parameter, Edlin starts the search on the line after 
  1543. the current line. If you omit the line2 parameter, Edlin stops the search 
  1544. at the end of the file. 
  1545.  
  1546. If you omit the string parameter, Edlin uses the more recently used of the 
  1547. following two values: the value that you specified for string the last time 
  1548. you used the S command, or the value that you specified for string1 the 
  1549. last time you used the R (replace) command during this session. If you omit 
  1550. the string parameter and this is your first use of an S or R command during 
  1551. this session, the S command stops immediately. 
  1552.  
  1553. Using the ? (question mark) 
  1554. ---------------------------
  1555. If you include the ? parameter in your command, Edlin displays the line 
  1556. containing the first occurrence of the characters specified for string 
  1557. and prompts you with the following confirmation message: 
  1558.  
  1559.    O.K.? _ 
  1560.    
  1561. If you press Y (for yes) or press ENTER, the line displayed before the 
  1562. message becomes the current line and the search stops. If you press N 
  1563. (for no), the search continues until another occurrence is found or until 
  1564. Edlin displays the following message indicating that all lines have been 
  1565. searched: 
  1566.  
  1567.    Not found 
  1568.    
  1569. EXAMPLES
  1570. --------
  1571. Suppose that the following file is in memory and ready to edit. You can 
  1572. type 1L at the Edlin prompt to see the contents of the file. 
  1573.  
  1574.     1: Dear Mr. Muster:
  1575.     2:
  1576.     3: Congratulations on your promotion
  1577.     4: to the position of Senior Chemical
  1578.     5: Engineer. I continue to be most
  1579.     6: impressed with your hard work.
  1580.     7:
  1581.     8: I think you will enjoy working with
  1582.     9: Mr. Lang on the new project. Please
  1583.    10: let me know if there is anything I
  1584.    11: can do to assist you.
  1585.    12:
  1586.    13: Sincerely,
  1587.    14:
  1588.    15: S.L. Martin, President
  1589.  
  1590. To specify that Edlin is to search lines 2 through 12 for the first 
  1591. occurrence of the word ôtoö, type the following command: 
  1592.  
  1593.    2,12sto 
  1594.  
  1595. Edlin displays the following line: 
  1596.  
  1597.    4: to the position of Senior Chemical
  1598.  
  1599. To specify that Edlin is to display the line containing the first occurrence 
  1600. of "to" and then prompt you with a confirmation message, type the following 
  1601. command: 
  1602.  
  1603.    1,?sto 
  1604.    
  1605. Edlin displays the following lines: 
  1606.  
  1607.     4: to the position of Senior Chemical
  1608.    O.K.? _
  1609.  
  1610. If you press any key other than Y or ENTER, the search continues. For this 
  1611. example, press N (for no), as follows: 
  1612.  
  1613.    O.K.? n 
  1614.  
  1615. Edlin continues the search and displays the following lines:  
  1616.  
  1617.     5: Engineer. I continue to be most
  1618.    O.K.? _
  1619.  
  1620. Press Y to stop the search. 
  1621.  
  1622. EDLIN: T(TRANSFER)---------------------------------------------------------
  1623.  
  1624. Merges the contents of another file from a disk with the contents of the 
  1625. file that is in memory. 
  1626.  
  1627. SYNTAX
  1628. ------ 
  1629. [line]T[drive:][path] filename 
  1630.  
  1631. PARAMETERS
  1632. ---------- 
  1633. line 
  1634.    Specifies the line number before which you want Edlin to insert the file 
  1635.    it is transferring from a disk. The default value of this parameter is 
  1636.    the number of the current line. 
  1637.    
  1638. [drive:][path] filename 
  1639.    Specifies the location and name of the file you want Edlin to insert 
  1640.    before the line whose number is specified in the line parameter. The 
  1641.    default value for drive is the current drive; the default value for path 
  1642.    is the current directory. 
  1643.    
  1644. NOTE
  1645. ----
  1646. After Edlin merges a file from a disk, you can use the Edlin L (list) 
  1647. command at the Edlin prompt to see the correctly renumbered lines. 
  1648.  
  1649. EXAMPLE
  1650. -------
  1651. To merge a file named TAXES.MEM to line 12 of the file you are editing, 
  1652. type the following command: 
  1653.  
  1654.    12t taxes.mem 
  1655.  
  1656. EDLIN: W(WRITE)--------------------------------------------------------------
  1657.  
  1658. Writes the first portion of the edited file from memory to a disk. 
  1659.  
  1660. When you start Edlin, it reads as many lines as possible from your disk 
  1661. file into memory. If the size of your file exceeds available memory, you 
  1662. must edit your file in stages. That is, you edit part of the file, write 
  1663. that part to your disk by using the W command, and then load the next part 
  1664. from disk by using the A command. 
  1665.  
  1666. SYNTAX
  1667. ------ 
  1668. [n]W 
  1669.  
  1670. PARAMETERS
  1671. ---------- 
  1672.    Specifies the number of lines that you want Edlin to write to the disk, 
  1673.    beginning with the first line of the edited file in memory. 
  1674.  
  1675. NOTES
  1676. -----
  1677.  
  1678. How the W command works 
  1679. -----------------------
  1680. When you open a file, Edlin reads lines from disk until memory is more 
  1681. than 75-percent full. It reserves the other 25 percent for changes you 
  1682. might make to the text. If your entire file fits in memory, Edlin displays 
  1683. the following message: 
  1684.  
  1685.    End of input file 
  1686.    
  1687. If you see this message, you do not need to use the W and A commands. 
  1688.  
  1689. If Edlin does not display this message when you open a file, the size of 
  1690. the file exceeds available memory. Therefore, you must edit your file in 
  1691. stages by using the W and A commands to write and read parts of the file, 
  1692. respectively. 
  1693.  
  1694. The W command does not write to disk the changes you make unless it was 
  1695. actually necessary to use the W command. Therefore, if you use the W command 
  1696. even though the whole file fit into memory and then you use the Q command to 
  1697. quit Edlin, none of the changes you made to the file are saved. 
  1698.  
  1699. Line renumbering 
  1700. ----------------
  1701. After Edlin writes the first portion of the edited file from memory to a 
  1702. disk, you can use the Edlin L (list) command at the Edlin prompt to see 
  1703. the correctly renumbered lines that remain, beginning with line number 1. 
  1704.  
  1705. Default setting 
  1706. ---------------
  1707. If you omit the n parameter, Edlin writes lines from the edited file 
  1708. in memory to a disk until memory is 25-percent full. 
  1709.  
  1710. EXAMPLE
  1711. -------
  1712. Suppose the final 100 lines of your disk file do not fit into memory. After 
  1713. you edit the first part of the file, you can free enough space to load the 
  1714. remainder of your disk file into memory and continue editing by typing the 
  1715. following command: 
  1716.  
  1717.    125w 
  1718.    
  1719. EXE2BIN----------------------------------------------------------------------
  1720.  
  1721. Converts .EXE (executable) files to binary format. 
  1722.  
  1723. EXE2BIN is included with MS-DOS as a courtesy to software developers. It 
  1724. is not useful for general users. 
  1725.  
  1726. SYNTAX
  1727. ------ 
  1728. EXE2BIN [drive1:][path1]input-file [[drive2:][path2]output-file] 
  1729.  
  1730. PARAMETERS
  1731. ---------- 
  1732. [drive1:][path1]input-file 
  1733.    Specifies the location and name of the input file. 
  1734.    
  1735. [drive2:][path2]output-file 
  1736.    Specifies the location and name of the output file. 
  1737.    
  1738. NOTES
  1739. -----
  1740.  
  1741. Restrictions on using EXE2BIN 
  1742. -----------------------------
  1743. The following restrictions apply when you use the EXE2BIN command: 
  1744. o The input file must be in valid .EXE format produced by the linker 
  1745.   and must not be packed. 
  1746.  
  1747. o The resident, or actual, code and data portions of the file combined 
  1748.   must be less than 64K. 
  1749.  
  1750. o There must be no STACK segment. 
  1751.  
  1752. Default values for parameters 
  1753. -----------------------------
  1754. EXE2BIN takes specific actions, depending upon the values you use for the 
  1755. input-file and output-file parameters. 
  1756.  
  1757. o The default filename extension for the filename you specify for input-file 
  1758.   is .EXE. EXE2BIN converts the input .EXE file to an output file in .BIN 
  1759.   format (a memory image of the program) and uses the location and filename 
  1760.   you specify for [drive2:][path2]output-file to store that output file. 
  1761.  
  1762. o If you do not specify drive2 or path2, EXE2BIN writes the output file 
  1763.   to the current drive and directory. 
  1764.  
  1765. o If you do not specify an output filename, EXE2BIN uses the input 
  1766.   filename. 
  1767.  
  1768. o The default extension for the filename specified for the output-file 
  1769.   parameter is .BIN. 
  1770.  
  1771. Types of conversion available with EXE2BIN 
  1772. ------------------------------------------
  1773. Two types of conversion are possible, depending upon whether the initial 
  1774. CS:IP (Code Segment:Instruction Pointer) is specified in the .EXE file. 
  1775. The following list presents the two types: 
  1776.  
  1777. o If the CS:IP is not specified in the .EXE file, EXE2BIN performs a 
  1778.   pure binary conversion. If segment fixups are necessary (that is, if 
  1779.   the program contains instructions requiring segment relocation), EXE2BIN 
  1780.   prompts you for the fixup value. This value is the absolute segment at 
  1781.   which the program is to be loaded. The resulting program is usable only 
  1782.   when loaded at the absolute memory address specified by your program. 
  1783.   The command interpreter cannot load the program. 
  1784.   
  1785.  
  1786. o If the CS:IP is specified as 0000:100H, the file runs as a .COM file 
  1787.   with the instruction pointer set at 100H by the assembler statement ORG. 
  1788.   Include the .COM extension in the output-file parameter. No segment fixups 
  1789.   are allowed, because .COM files must be segment-relocatable; that is, they 
  1790.   must assume the entry conditions explained in the Microsoft Macro Assembler 
  1791.   manuals. The command interpreter can then load and run the program in the 
  1792.   same way as it loads and runs the .COM programs supplied on your MS-DOS 
  1793.   disk. 
  1794.   
  1795. FAKEMOUS---------------------------------------------------------------------
  1796.  
  1797. An IBM PS/2 mouse utility used with AccessDOS. 
  1798.  
  1799. See ADOS.TXT for information about using FAKEMOUS.
  1800.  
  1801. GRAFTABL---------------------------------------------------------------------
  1802.  
  1803. Enables MS-DOS to display the extended characters of a specified code page 
  1804. in graphics mode. 
  1805.  
  1806. Most monitors can display extended characters (ASCII characters 128 
  1807. through 255) without the GRAFTABL command. Use this command only if your 
  1808. monitor does not properly display these characters in graphics mode. 
  1809.  
  1810. SYNTAX
  1811. ------ 
  1812. GRAFTABL [xxx] 
  1813.  
  1814. GRAFTABL /STATUS 
  1815.  
  1816. PARAMETERS
  1817. ---------- 
  1818. xxx 
  1819.    Specifies the code page for which you want MS-DOS to define the 
  1820.    appearance of extended characters in graphics mode. The following 
  1821.    list shows each valid code-page identification number and its country 
  1822.    or language: 
  1823.    
  1824. 437    
  1825.    United States 
  1826.  
  1827. 850    
  1828.    Multilingual (Latin I) 
  1829.  
  1830. 852    
  1831.    Slavic (Latin II) 
  1832.  
  1833. 860    
  1834.    Portuguese 
  1835.  
  1836. 863    
  1837.    Canadian-French 
  1838.  
  1839. 865    
  1840.    Nordic 
  1841.    
  1842. SWITCH
  1843. ------
  1844. /STATUS 
  1845.    Identifies the code page selected for use by GRAFTABL. 
  1846.  
  1847. NOTES
  1848. -----
  1849.  
  1850. GRAFTABL does not change the active code page 
  1851. ---------------------------------------------
  1852. GRAFTABL affects only the appearance of extended characters of the code 
  1853. page you specify. To change the code page you are using, use the MODE or 
  1854. CHCP command. 
  1855.  
  1856. GRAFTABL exit codes 
  1857. -------------------
  1858. The following list shows each exit code and a brief description of its 
  1859. meaning: 
  1860.  
  1861. 0    
  1862.    Character set was loaded successfully; no previous code page was
  1863.    loaded.
  1864.  
  1865. 1    
  1866.    Character set was already loaded and replaced by new table.
  1867.  
  1868. 2    
  1869.    A file error occurred.
  1870.  
  1871. 3    
  1872.    An incorrect parameter was specified; no action was taken.
  1873.  
  1874. 4    
  1875.    An incorrect version of MS-DOS is in use; version 5.0 is required.
  1876.  
  1877. You can use the ERRORLEVEL parameter on the IF command line in a batch 
  1878. program to process exit codes returned by GRAFTABL. For an example of a 
  1879. batch program that processes exit codes, see the BACKUP command. 
  1880.  
  1881. Effect on memory 
  1882. ----------------
  1883. The GRAFTABL command decreases the amount of available conventional memory 
  1884. by about 1K. 
  1885.  
  1886. EXAMPLE
  1887. -------
  1888. To load the graphics character set for code page 437 (United States) 
  1889. into memory, type the following command: 
  1890.  
  1891.    graftabl 
  1892.    
  1893. To load the graphics character set for code page 860 (Portuguese) into 
  1894. memory, type the following command: 
  1895.  
  1896.    graftabl 860 
  1897.  
  1898. ISO.CPI--------------------------------------------------------------------
  1899.  
  1900. Contains ISO-compliant versions of certain character sets (codepages).
  1901.  
  1902. ISO-compliant fonts are special monospace (nonproportional) display fonts 
  1903. that, on some displays, are more readable than standard display fonts. 
  1904. (ISO fonts work only in 25-line mode; they do not support 43- or 50-line 
  1905. mode.) The ISO fonts included with MS-DOS 6.22 comply with Part 3 of 
  1906. the ISO 9241 Specification.
  1907.  
  1908. The ISO.CPI file contains ISO-compliant versions of the following character 
  1909. sets (codepages):
  1910.  
  1911.     437  United States            
  1912.     737  Greek II                 
  1913.     850  Multilingual (Latin I)   
  1914.     852  Slavic/Eastern European (Latin II)        
  1915.     855  Cyrillic I               
  1916.     857  Turkish
  1917.     860  Portuguese
  1918.     861  Icelandic
  1919.     863  Canadian-French
  1920.     865  Nordic
  1921.     866  Russian (Cyrillic II)
  1922.     869  Greek I
  1923.  
  1924. To install ISO fonts, you add or edit commands in your AUTOEXEC.BAT and 
  1925. CONFIG.SYS files. If your system is already set up to load a character
  1926. set (code page) other than the standard United States character set, 
  1927. carry out Procedure 1. Otherwise, carry out Procedure 2.
  1928.  
  1929. Procedure 1 -- If your system is already set up to load a character set 
  1930. other than the standard United States character set:
  1931.  
  1932. 1. In your AUTOEXEC.BAT file, change the MODE CON CODEPAGE PREPARE
  1933.    command so that it specifies ISO.CPI instead of your usual 
  1934.    codepage (.CPI) file. 
  1935.    
  1936.    For example, suppose your current MODE command loads the Portugese 
  1937.    character set (860) and looks like the following:
  1938.        
  1939.        MODE CON CODEPAGE PREPARE=((860) C:\DOS\EGA.CPI)
  1940.  
  1941.    To use the ISO-compliant version of the Portugese character set, you 
  1942.    would change this command to specify ISO.CPI, as follows:
  1943.  
  1944.        MODE CON CODEPAGE PREPARE=((860) C:\DOS\ISO.CPI)
  1945.  
  1946. Procedure 2 -- If you are using the standard US character set:
  1947.  
  1948. 1. Add a DEVICE command for DISPLAY.SYS to your CONFIG.SYS file. For
  1949.    example, if you want to use the United States hardware character 
  1950.    set (437), and if DISPLAY.SYS is in the C:\DOS directory, you would
  1951.    add the following command to your CONFIG.SYS file:
  1952.  
  1953.        DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,437,2)
  1954.  
  1955.    Note that DISPLAY.SYS uses about 12K of memory.
  1956.  
  1957. 2. Add MODE commands to your AUTOEXEC.BAT file to load and select the
  1958.    proper character sets (code pages). For example, to use the ISO
  1959.    version of the United States character set (437), you would add 
  1960.    the following commands to your AUTOEXEC.BAT files:
  1961.  
  1962.        MODE CON CODEPAGE PREPARE=((437) C:\DOS\ISO.CPI)
  1963.        MODE CON CODEPAGE SELECT=437
  1964.  
  1965.  
  1966. JOIN-------------------------------------------------------------------------
  1967.  
  1968. Joins a disk drive to a directory on another disk drive. 
  1969.  
  1970. When you use the JOIN command, MS-DOS treats the directories and files 
  1971. on a disk drive as the contents of the other drive and path you specify. 
  1972.  
  1973. SYNTAX
  1974. ------
  1975. JOIN [drive1: [drive2:]path] 
  1976.  
  1977. JOIN drive: /D 
  1978.  
  1979. PARAMETERS
  1980. ----------
  1981. drive1: 
  1982.    Specifies the floppy disk drive or logical drive that you want to join 
  1983.    to a different drive and directory. 
  1984.    
  1985. drive2: 
  1986.    Specifies the floppy disk drive or logical drive to which you want to 
  1987.    join drive1. 
  1988.    
  1989. path 
  1990.    Specifies the directory to which you want to join drive1. This directory 
  1991.    must be empty before you join drive1 to it. It must also be a directory 
  1992.    other than the root directory. 
  1993.    
  1994. drive: 
  1995.    Specifies a floppy disk drive or logical drive that was previously 
  1996.    specified in a JOIN command that you are now canceling. 
  1997.    
  1998. SWITCH
  1999. ------
  2000. /D
  2001.     Cancels any previous JOIN commands for the drive you specify.
  2002.  
  2003. Drive1 becomes invalid 
  2004. ----------------------
  2005. After you use the JOIN command, the drive1 you specify becomes invalid. 
  2006. If you then try to use it, MS-DOS displays the following message: 
  2007.  
  2008.    Invalid drive specification 
  2009.    
  2010. Limitations on path 
  2011. -------------------
  2012. If the directory specified by path already exists before you use the 
  2013. JOIN command, you cannot use that directory for any other purpose while 
  2014. JOIN is in effect. If the directory is not empty, MS-DOS does not complete 
  2015. the join operation and displays the following message: 
  2016.  
  2017.    Directory not empty 
  2018.  
  2019. If the directory does not exist, MS-DOS tries to create it. 
  2020.  
  2021. Limitations on using JOIN with other commands 
  2022. ---------------------------------------------
  2023. The following commands do not work with drives formed by the JOIN command: 
  2024. ASSIGN      BACKUP     CHKDSK     DISKCOMP
  2025. DISKCOPY    FDISK      FORMAT     LABEL
  2026. MIRROR      MIRROR     RESTORE    SYS
  2027.  
  2028. Using JOIN with no parameters 
  2029. -----------------------------
  2030. You can use the JOIN command with no parameters to see a list of the 
  2031. currently joined drives. 
  2032.  
  2033. EXAMPLES
  2034. --------
  2035. You can join any directory or subdirectory in a tree structure. For 
  2036. example, the following commands are valid: 
  2037.  
  2038.    join d: c:sales 
  2039.    
  2040.    join d: c:salesoctober 
  2041.    
  2042. To reverse either of the previous JOIN commands, type the drive1 value followed by the /D switch, as follows: 
  2043. join d: /d 
  2044.  
  2045. KBDBUF.SYS-------------------------------------------------------------------
  2046.  
  2047. Specifies the number of keystrokes that can be held in your keyboard buffer.
  2048.  
  2049. SYNTAX
  2050. ------
  2051. DEVICE=KBDBUF.SYS nnnn
  2052.  
  2053. PARAMETER
  2054. ---------
  2055. nnnn
  2056.    Specifies the number of keystrokes that can be held in the keyboard 
  2057.    buffer. The acceptable range is 16 to 1024
  2058.  
  2059. NOTES
  2060. -----
  2061. The KBDBUF.SYS driver should be loaded with the DEVICE command early
  2062. in your CONFIG.SYS file. In addition, you cannot load the KBDBUF.SYS
  2063. driver into the upper memory area. If you run MemMaker, choose Custom, 
  2064. and exclude the driver from the optimization process.
  2065.  
  2066. EXAMPLE
  2067. -------
  2068. If you want to specify a keyboard buffer that allows you to type ahead
  2069. 25 keystrokes beyond what has been displayed on your screen, add
  2070. the following command to your CONFIG.SYS file:
  2071.  
  2072. DEVICE=KBDBUF.SYS 25
  2073.  
  2074. LCD.CPI----------------------------------------------------------------------
  2075.  
  2076. Code-page information file for IBM PC Convertible liquid crystal display.
  2077.  
  2078. MIRROR-----------------------------------------------------------------------
  2079.  
  2080. Starts the MIRROR program, which records information about one or more 
  2081. disks; the UNFORMAT and UNDELETE commands can use this information to 
  2082. restore a reformatted disk or to recover deleted files. 
  2083.  
  2084. SYNTAX
  2085. ------
  2086. MIRROR [drive:[ ...]] [/1] [/Tdrive[-entries][ ...]] 
  2087.  
  2088. MIRROR [/u] 
  2089.  
  2090. MIRROR [/partn] 
  2091.  
  2092. To save information about the disk in the current drive, use the following 
  2093. syntax:  
  2094.  
  2095. MIRROR 
  2096.  
  2097. PARAMETER
  2098. ---------
  2099. drive:
  2100.    Specifies the drive containing the disk for which you want MIRROR to
  2101.    save information. This information is used by the UNFORMAT command to
  2102.    restore a disk.
  2103.  
  2104. SWITCHES
  2105. --------
  2106. /1
  2107.    Retains only the latest information about the disk. If you do not
  2108.    specify this switch, MIRROR makes a backup copy of the existing
  2109.    disk-information file before recording the current information.
  2110.  
  2111. /Tdrive[-entries]
  2112.    Loads a terminate-and-stay-resident deletion-tracking program that
  2113.    records information used by the UNDELETE command to recover deleted
  2114.    files. The required drive parameter specifies the drive containing
  2115.    the disk for which you want MIRROR to save information about deleted
  2116.    files. The optional entries parameter, which must be a value in the
  2117.    range 1 through 999, specifies the maximum number of entries in the
  2118.    deletion-tracking file (PCTRACKR.DEL). The default value for entries
  2119.    is dependent upon the type of disk being tracked. The following list
  2120.    shows each disk size, its default number of entries, and its
  2121.    corresponding file size:
  2122.  
  2123. Disk size          Entries       File size 
  2124. 360K                  25            5K 
  2125. 720K                  50            9K 
  2126. 1.2 megabyte (MB)     75           14K
  2127. 1.44 MB               75           14K 
  2128. 20 MB                101           18K 
  2129. 32 MB                202           36K
  2130. 32 MB                303           55K
  2131.  
  2132. CAUTION  Do not use deletion tracking for any drive that has been 
  2133. redirected by using the JOIN or SUBST command. If you intend to use the 
  2134. ASSIGN command, you must do so before using MIRROR to install deletion 
  2135. tracking. 
  2136.  
  2137. /U
  2138.    Unloads the deletion-tracking program from memory, disabling deletion
  2139.    tracking. You cannot unload the tracking program if you loaded any
  2140.    other memory-resident programs after it.
  2141.  
  2142. /PARTN
  2143.    Saves system information about how a hard disk is partitioned. The
  2144.    switch saves the information in a file on a floppy disk. The UNFORMAT
  2145.    command can use this file later to rebuild the partitions of a disk.
  2146.  
  2147. Saving information about a disk 
  2148. -------------------------------
  2149. The MIRROR program saves a copy of the file allocation table and the root 
  2150. directory of the disk in the specified drive. The UNFORMAT command can 
  2151. use this information to rebuild a disk that has been unintentionally 
  2152. formatted, or it can use the information to recover files and subdirectories 
  2153. in the disk's root directory. 
  2154.  
  2155. Because UNFORMAT restores the diskÆs system area to the condition it was 
  2156. in when you last used MIRROR, you should save this information frequently 
  2157. for every hard disk drive in your system. To ensure that the information 
  2158. is saved each time you turn on your computer, you may want to add a MIRROR 
  2159. command to your AUTOEXEC.BAT file. 
  2160.  
  2161. Removing the deletion-tracking program from memory 
  2162. --------------------------------------------------
  2163. You may need to remove the deletion-tracking program from memory. To do so, 
  2164. remove all memory-resident programs that you loaded after the deletion-
  2165. tracking program, and then use the MIRROR command with the /U switch. 
  2166. Since this turns off deletion tracking, any files deleted after you remove 
  2167. the tracking program can be recovered only by using information in the 
  2168. directory. 
  2169.  
  2170. Saving information about hard-disk partitions 
  2171. ---------------------------------------------
  2172. Every formatted hard disk drive has at least one partition. To identify a 
  2173. hard disk drive, MS-DOS uses information stored in a special disk partition 
  2174. table. If this table is corrupted, MS-DOS cannot locate the hard disk. 
  2175.  
  2176. You can save partition-table information for a hard disk by using the 
  2177. MIRROR command with the /PARTN switch. This switch creates a file named 
  2178. PARTNSAV.FIL, which the UNFORMAT command can use to rebuild the partition 
  2179. table. Because MS-DOS cannot gain access to your hard disk if the partition 
  2180. table is damaged, you should not put this file on the hard disk itself. 
  2181. Instead, you should put the file on a floppy disk (which you should keep 
  2182. in a safe place) or on another hard disk drive, such as a network server. 
  2183.  
  2184. EXAMPLES
  2185. --------
  2186. To save a copy of the file allocation table and the root directory of 
  2187. drive C and to install deletion tracking for drives A and C, type the 
  2188. following command: 
  2189.  
  2190.    mirror c: /ta /tc 
  2191.    
  2192. Suppose you want to save a copy of the file allocation table and the root 
  2193. directory of the disk in the current drive, and you want to install the 
  2194. deletion-tracking program for drive C. To do this and to set the maximum 
  2195. number of deletions to be tracked to 500, type the following command. 
  2196. (Note that since no drive parameter is specified, MIRROR saves the 
  2197. information about the disk in the current drive.) 
  2198.  
  2199.    mirror /tc-500 
  2200.  
  2201. To save a copy of the partition table for your hard disk drive, type the 
  2202. following command: 
  2203.  
  2204.    mirror /partn 
  2205.    
  2206. The MIRROR program displays the following information: 
  2207.  
  2208.    Disk Partition Table saver. 
  2209.    The partition information from your hard drive(s) has been read. 
  2210.    Next, the file PARTNSAV.FIL will be written to a floppy disk. Please 
  2211.    insert a formatted diskette and enter the name of the diskette drive. 
  2212.    What drive? A 
  2213.  
  2214. The default disk drive is drive A. If you want to use a different drive, 
  2215. type the drive letter (making sure it does not identify a partition on 
  2216. the hard disk drive), insert a formatted floppy disk in the drive (if 
  2217. necessary), and press ENTER. 
  2218.  
  2219. MSHERC----------------------------------------------------------------------
  2220.  
  2221. Installs support for Qbasic programs that use the Hercules graphics
  2222. card.
  2223.  
  2224. SYNTAX
  2225. ------
  2226. MSHERC [/HALF]
  2227.  
  2228. SWITCH
  2229. ------
  2230. /HALF
  2231.    Use this switch when a color adapter is also installed.
  2232.  
  2233. PRINTER.SYS------------------------------------------------------------------
  2234.  
  2235. Supports code-page switching for the parallel ports PRN, LPT1, LPT2, and 
  2236. LPT3. 
  2237.  
  2238. SYNTAX
  2239. ------ 
  2240. DEVICE=[drive:][path]PRINTER.SYS LPTx=(type[,[hwcp][,n]]) 
  2241.  
  2242. PARAMETERS
  2243. ----------
  2244. [drive:][path]
  2245.    Specifies the location of the PRINTER.SYS file.
  2246.  
  2247. LPTx
  2248.     Specifies the number of the parallel port for which you want to support
  2249.     code-page switching.
  2250.  
  2251. type
  2252.     Specifies the printer in use. The following list shows valid values for
  2253.     type and the printers represented by each value:
  2254.  
  2255.     4201    IBM Proprinters II and III Model 4201
  2256.         IBM Proprinters II and III XL Model 4202
  2257.     4208    IBM Proprinter X24E Model 4207
  2258.         IBM Proprinter XL24E Model 4208
  2259.     5202    IBM Quietwriter III Model 5202
  2260.  
  2261. hwcp
  2262.     Specifies the code page your hardware supports. The following list
  2263.     shows the code pages that MS-DOS supports and the country or language
  2264.     for each:
  2265.  
  2266.     437    United States
  2267.     850    Multilingual (Latin I)
  2268.     852    Slavic (Latin II)
  2269.     860    Portuguese
  2270.     863    Canadian-French
  2271.     865    Nordic
  2272.  
  2273. n
  2274.     Specifies the number of code pages your hardware can support in
  2275.     addition to the code page specified in the hwcp parameter.
  2276.  
  2277. EXAMPLE
  2278. -------
  2279. The following command loads the PRINTER.SYS device driver for use with the 
  2280. IBM Proprinter X24E Model 4207, loads code page 850, and prepares 
  2281. PRINTER.SYS to support two additional code pages: 
  2282.  
  2283.    device=c:\dos\printer.sys lpt1:=(4208,850,2) 
  2284.    
  2285. PRINTFIX--------------------------------------------------------------------
  2286.  
  2287. Prevents MS-DOS from checking the status of your printer. Use this
  2288. command only if you have had problems printing since you installed
  2289. MS-DOS 6.22.
  2290.  
  2291. SYNTAX
  2292. ------
  2293. PRINTFIX
  2294.  
  2295. SETUP------------------------------------------------------------------------
  2296.  
  2297. Installs the commands and files on the Supplemental disks to your
  2298. hard drive.
  2299.  
  2300. SYNTAX
  2301. ------
  2302. SETUP [drive:][path]
  2303.  
  2304. PARAMETERS
  2305. ----------
  2306. [drive:][path]
  2307.    The drive and directory to which you want to install the Supplemental
  2308.    disk commands and files
  2309.  
  2310. NOTES
  2311. -----
  2312. You can run the Setup program from a floppy drive, your hard disk, or
  2313. from a network drive--just make sure the Setup program is in the same
  2314. drive and directory that contains your Supplemental disk files.
  2315.  
  2316. If you install any of the Utilities from MS-DOS 5.0, such as the Backup 
  2317. program, you must restart your computer before using them. This is because 
  2318. the Setup program modifies your SETVER table, and you must restart your
  2319. computer for the modifications to take effect.
  2320.  
  2321. SPATCH.BAT------------------------------------------------------------------
  2322.  
  2323. If your computer uses a Windows 3.0 permanent swap file, run 
  2324. the SPATCH.BAT program to make the swap file compatible with MS-DOS 6.22. 
  2325.  
  2326. For more information, see the README.TXT file included with MS-DOS 6.22.
  2327.  
  2328. NOTE: This file is included on the Supplemental disks because some
  2329. versions of MS-DOS did not include the file.
  2330.